#include "TcpServer.hpp"
void Usage(const char* argv)
{
    cout << argv << " server_port" << endl;
}

int main(int argc,char* argv[])
{
    if(argc !=2)
    {
        Usage(argv[0]);
        exit(USAGE_ERRO);
    }
    unique_ptr<TcpServer> server = make_unique<TcpServer>();
    server->Init();
    server->Run();
    return 0;
}